package com.lanou.utp.mapper;

import com.lanou.utp.entity.LoginUser;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface LoginMapper {

    Integer loginByNumber(LoginUser user);

    Integer loginByTelephone(LoginUser user);

    Integer isAdmin(LoginUser user);

    Integer number_isTeacher(LoginUser user);

    Integer number_isStudent(LoginUser user);

    Integer telephone_isTeacher(LoginUser user);

    Integer telephone_isStudent(LoginUser user);

    Integer getAdminId(LoginUser user);

    Integer getIdByNumber(LoginUser user);

    Integer getIdByTelephone(LoginUser user);

}
